﻿<%@ Page Language="C#" MasterPageFile="~/Template/Detail.master" AutoEventWireup="true"
    CodeFile="RoomUseList.aspx.cs" Inherits="NewMeetingRoom_RoomUseList" Title="Untitled Page" %>

<%@ Register Src="~/Control/ListHeader.ascx" TagName="ListHeader" TagPrefix="wsc" %>
<%@ Register Src="~/Control/TabberHeader.ascx" TagName="TabberHeader" TagPrefix="wsc" %>
<%@ Register Assembly="Wicresoft.Common" Namespace="Wicresoft.Web.UI.WebControls"
    TagPrefix="wsc" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <style>
       
        .TableItem
        {
            background-color: #FBFBFB;
            text-align: center;
            padding: 3px;
        }
          strong
        {
            color: #666666;
            font-family: Verdana,Arial,Helvetica,sans-serif;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ListToolBarPlaceHolder" runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="TitleContentPlaceHolder" runat="Server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="InfoContentPlaceHolder" runat="Server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="TextContentPlaceHolder" runat="Server">
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="TabberContentPlaceHolder" runat="Server">
    <wsc:TabberHeader ID="thInfo" runat="server" DivID="div1" Title="预定情况" Selected="true" />
</asp:Content>
<asp:Content ID="Content7" ContentPlaceHolderID="Div1ContentPlaceHolder" runat="Server">
    <table cellspacing="0" cellpadding="4" width="98%" align="center" border="0">
        <tr>
            <td width="100%">
                <strong>&nbsp;<%=Wicresoft.Busi.BizLogic.Util.SceneName%>情况</strong>
            </td>
        </tr>
        <tr>
            <td>
                <table class="Table" cellspacing="0" cellpadding="4" width="100%" align="center"
                    border="0">
                    <tr>
                        <td class="TableItem" width="20%">
                            <strong>
                                <%=Wicresoft.Busi.BizLogic.Util.SceneName%>类型：</strong>
                        </td>
                        <td width="40%">
                            <asp:Label ID="lblRoomType" runat="server"></asp:Label>
                        </td>
                        <td rowspan="4" align="center">
                            <a id="hlImg" target="_blank" runat="server">
                                <asp:Image ID="imgRoom" runat="server" Width="200px" Height="150px"></asp:Image></a>
                        </td>
                    </tr>
                    <tr>
                        <td class="TableItem">
                            <strong>
                                <%=Wicresoft.Busi.BizLogic.Util.SceneName%>名称：</strong>
                        </td>
                        <td>
                            <asp:Label ID="lblRoomName" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td class="TableItem">
                            <strong>
                                <%=Wicresoft.Busi.BizLogic.Util.SceneName%>位置：</strong>
                        </td>
                        <td>
                            <asp:Label ID="lblLocation" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td class="TableItem">
                            <strong>可容纳人数：</strong>
                        </td>
                        <td>
                            <asp:Label ID="lblSeatsCount" runat="server"></asp:Label>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    <div style="margin-left:4px;">
    <wsc:DataGrid ID="dgApply" runat="server" CssClass="Table" Width="98%" AllowCustomPaging="False" 
        AutoGenerateColumns="False" AllowPaging="True" AllowSorting="True" FooterCssClass="PageGridHeader"
        HeaderCssClass="PageGridHeader" ItemCssClass="TableAlternatingItem" AlternatingCssClass="TableAlternatingItem"
        ItemOverCssClass="TableMouseOverItem" EditItemCssClass="TableEditItem" PagerCssClass="TablePage"
        TableName="vwMeetingRoomApply" Order="ID" PageSize="5" OnOnGetData="dgApply_OnGetData">
        <AlternatingItemStyle CssClass="TableAlternatingItem"></AlternatingItemStyle>
        <FooterStyle CssClass="PageGridHeader"></FooterStyle>
        <ItemStyle CssClass="TableAlternatingItem"></ItemStyle>
        <Columns>
            <wsc:PKColumn Visible="False" DataField="ID">
            </wsc:PKColumn>
            <wsc:NormalColumn SelectString="" DataField="MeetingDateCN" Width="40%" HeaderText="使用时间"
                DataFormatString="" Align="Left">
            </wsc:NormalColumn>
            <wsc:NormalColumn SelectString="" DataField="GroupName" Width="40%" HeaderText="占用处室"
                DataFormatString="" Align="Left">
            </wsc:NormalColumn>
            <wsc:NormalColumn SelectString="" DataField="Remark4" Width="20%" HeaderText="联系人"
                DataFormatString="" Align="Left">
            </wsc:NormalColumn>
            <wsc:PKColumn Visible="False" DataField="MeetingDate">
            </wsc:PKColumn>
            <wsc:PKColumn Visible="False" DataField="ConvertTime">
            </wsc:PKColumn>
            <wsc:NormalColumn SelectString="" DataField="Remark3" HeaderText="联系电话" DataFormatString=""
                Align="Left" Visible="false">
            </wsc:NormalColumn>
            <wsc:NormalColumn Visible="False" DataField="StartTime">
            </wsc:NormalColumn>
        </Columns>
        <HeaderStyle CssClass="PageGridHeader"></HeaderStyle>
        <PagerStyle CssClass="TablePage"></PagerStyle>
    </wsc:DataGrid>
    </div>
</asp:Content>
<asp:Content ID="Content8" ContentPlaceHolderID="Div2ContentPlaceHolder" runat="Server">
</asp:Content>
<asp:Content ID="Content9" ContentPlaceHolderID="Div3ContentPlaceHolder" runat="Server">
</asp:Content>
<asp:Content ID="Content10" ContentPlaceHolderID="Div4ContentPlaceHolder" runat="Server">
</asp:Content>
<asp:Content ID="Content11" ContentPlaceHolderID="Div5ContentPlaceHolder" runat="Server">
</asp:Content>
